#ifndef DW_GRAPHICS_VIEWPORT_INL
#	define DW_GRAPHICS_VIEWPORT_INL

namespace dw {
	namespace graphics {

Viewport::Viewport(dw::maths::ivec2 position, dw::maths::ivec2 dimension)
:	m_position(position)
,	m_dimension(dimension)
{
}

Viewport::Viewport(const Viewport& ref)
:	m_position(ref.m_position)
,	m_dimension(ref.m_dimension)
{
}

const dw::maths::ivec2 Viewport::getPosition() const
{
	return m_position;
}

const dw::maths::ivec2 Viewport::getDimension() const
{
	return m_dimension;
}

Viewport& Viewport::operator = (const Viewport& rhs)
{
	m_position = rhs.m_position;
	m_dimension = rhs.m_dimension;

	return *this;
}

	} // namespace graphics
} // namespace dw

#endif // !DW_GRAPHICS_VIEWPORT_INL
